<?php/*
Template Name: 月友链-独立版
*/

?>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>月宅的小伙伴</title>
<meta name="description" content="月宅的后宫们"/>
<link rel="stylesheet" href="<?php bloginfo('template_url'); ?>/Uz-code/uz-link.css" type="text/css" media="screen" />
</head>
<body class="ikmoe-body-background">
<div class="ikmoe-body">
<div class="ikmoe-head">
<ul id="ikmoe-nav">
<li><a href="">我的小伙伴们</a></li>
<li><a href="index.php">博客</a></li><!--默认跳转自己首页-->
<li><a href="http://ikmoe.com/70.html">申请友链</a></li>
Ctrl+F5搜索
</ul>
</div></div>
<!-- 顶部导航结束 -->

<div class="ikmoe-layout">
<?php $bookmarks=get_bookmarks();
  if ( !empty($bookmarks) ){
    echo '<ul class="ikmoe-link">';
    foreach ($bookmarks as $bookmark) {
      echo '<li><a href="' . $bookmark->link_url . '" title="' . $bookmark->link_description . '" target="_blank" >'.'<div class="ikmoe-tx">'.get_avatar($bookmark->link_notes,62) . '<span class="ikmoe-text">'. $bookmark->link_name .'</span></a></li>';
    }
    echo '</ul>';
  }
?>
</div>


 <!--你的统计JS代码-->
 <script>
var _hmt = _hmt || [];
(function() {
  var hm = document.createElement("script");
  hm.src = "https://hm.baidu.com/hm.js?c64f2f199747aac13dca17dff37bb988";
  var s = document.getElementsByTagName("script")[0]; 
  s.parentNode.insertBefore(hm, s);
})();
</script>

</div>
<div class="ikmoe-footer">月宅酱版权所有-[湘ICP备17001140号]</div>

<!-- 请勿删除:版本号2.0 更新时间2017-8-4 -->
</body>
</html>
